package com.szly.phm.common.entity.dto.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;
import java.util.Set;

/**
 * @author chengjiang
 * @date 
 */
@Data
public class RolePermissionDTO {

    @ApiModelProperty(value = "角色Id",required = true)
    @NotBlank(message = "角色Id不能为空")
    private String roleId;

    @ApiModelProperty(value = "权限Id集合")
    private List<String> permissionIds;
    @ApiModelProperty(value = "按钮Id集合")
    private List<String> operationIds;
}
